net/http/internal/http2.ClientConn.currentRequestCountLocked (method)
6 uses
net/http/internal/http2 (current package)
transport.go#L837: maxConcurrentOkay = cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams)
transport.go#L872: if cc.currentRequestCountLocked() >= int(cc.maxConcurrentStreams) {
transport.go#L883: func (cc *ClientConn) currentRequestCountLocked() int {
transport.go#L897: return max(0, int(cc.maxConcurrentStreams)-cc.currentRequestCountLocked())
transport.go#L1577: if cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams) {
transport.go#L3172: return cc.cc.currentRequestCountLocked()
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)